<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<html>
<head>
    <meta charset="utf-8">
    <title>student_password_update</title>
    <link href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.js"></script>
</head>
<body>
<br>
<br><br>
<div class="ui four column centered grid">
    <div class="column">
        <form class="ui form" method="post" th:action="@{/student_password_update}">
            <div class="field">
                <label>用户名</label>
                <input disabled name="name" placeholder="用户名" th:value="${student.name}" type="text">
                <input name="id" th:value="${student.id}" type="hidden">
            </div>
            <div class="field">
                <label>原密码</label>
                <input disabled placeholder="密码" th:value="${student.password}" type="text">
            </div>
            <div class="field">
                <label>新密码</label>
                <input name="password" placeholder="新密码" type="text">
            </div>
            <button class="ui blue button" type="submit">提交</button>
            <a class="ui red button" th:href="@{/profile(id=${student.id},type=0)}">返回</a>
        </form>

    </div>
</div>

</body>
</html>
